package com.jiezhuo.service;

import com.jiezhuo.entity.User;
import com.jiezhuo.utils.R;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface LoginService {
    R login(User user);
    R logout(HttpServletRequest request);


    String getAccessToken() throws IOException;

    String getCommandAddress();
}
